<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/views/inc/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/views/inc/meta.jsp"></jsp:include>
<title>文章</title>
<style type="text/css">
#wrapper{
	width:960px;
	height:150px;
	margin:10px auto;
}
#header{
	width:960px;
	height:150px;
}
#header label{
	display:inline-block;
	float: right;
	font-size: 12px;
	margin-right:5px;
}
#header .logo{
	width:100%;
	height:80px;
}

#header .nav{
	width:100%;
	height:30px;
	background-color:#6293bb;
}

#header .nav a,#header .nav span{
	line-height:30px;
	color: #fff;
	font-size:14px;
	margin:10px;
	font-weight:bold;
}
</style>
<script type="text/javascript">

</script>
</head>
<body>
	<div id="wrapper">
		<div id="header">
			<p style="height:15px"><label><a href="login/LoginRequestServlet.do" style="color:#e28822;">你还未登录！</a><span style="margin-left:5px;margin-right:5px">|</span><a href="login/LoginRequestServlet.do">登录</a><span style="margin-left:5px;margin-right:5px">|</span><a href="login/LoginRequestServlet.do">注册</a></label></p>
			<div class="logo">
				<img alt="公司logo" src="${ctx}/${sessionScope.site.logo}" width="200" height="70">
			</div>
			<div class="nav">
				<a href="homepageServlet.do">首页</a>
				<c:forEach var="menu" items="${sessionScope.columnMenu}">
				     <c:if test="${menu.t.name!=null}">
				  		<span>|</span><a href="homepageServlet.do?nav=${menu.t.name}" class="nav-btn">${menu.t.name}</a>
			      	</c:if>
				</c:forEach>
			</div>
		</div> 
		<div id="artic">
			<p>访问次数：${content.count}</p>
			<div style="font-size:20px; height:100px; color:blue;">${content.title}</div>
			<div>${content.content}</div>
		</div>
		<div id="footer">
		</div>
	</div>
</body>
</html>